/**
 * @filename:ReportCommissionLogImageServiceImpl ReportCommissionLogImage
 * @project wallet-sign  V1.0
 * Copyright(c) 2018 Seven Co. Ltd. 
 * All right reserved. 
 */
package com.yixun.qfbao.service.impl;

import com.yixun.qfbao.mapper.ReportCommissionLogImageMapper;
import com.yixun.qfbao.model.ReportCommissionLogImage;
import com.yixun.qfbao.service.ReportCommissionLogImageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**   
 *  
 * @Description:  报备佣金操作记录图片表——SERVICEIMPL
 * @Author:       Seven   
 * @CreateDate:   ReportCommissionLogImage
 * @Version:      V1.0
 *    
 */
@Service
public class ReportCommissionLogImageServiceImpl implements ReportCommissionLogImageService {
	
	@Autowired
	public ReportCommissionLogImageMapper reportCommissionLogImageMapper;
	
	//查询对象
	@Override
	public ReportCommissionLogImage selectById(Long id) {
		return reportCommissionLogImageMapper.selectById(id);
	}
	
	//删除对象
	@Override
	public int deleteById(Long id) {
		return reportCommissionLogImageMapper.deleteById(id);
	}
	
	//添加对象
	@Override
	public int insert(ReportCommissionLogImage tmReportCommissionLogImage) {
		return reportCommissionLogImageMapper.insert(tmReportCommissionLogImage);
	}
	
	//修改对象
	@Override
	public int update(ReportCommissionLogImage tmReportCommissionLogImage) {
		return reportCommissionLogImageMapper.update(tmReportCommissionLogImage);
	}
	
	//查询集合
	@Override
	public List<ReportCommissionLogImage> queryReportCommissionLogImageList(ReportCommissionLogImage tmReportCommissionLogImage) {
		return reportCommissionLogImageMapper.queryReportCommissionLogImageList(tmReportCommissionLogImage);
	}

	@Override
	public void addImageBatch(List<ReportCommissionLogImage> list) {
		reportCommissionLogImageMapper.addImageBatch(list);
	}

	@Override
	public List<ReportCommissionLogImage> seletImageListByLogId(Long logId) {
		return reportCommissionLogImageMapper.seletImageListByLogId(logId);
	}
}